
from langserve import RemoteRunnable

remote_chain = RemoteRunnable("http://127.0.0.1:5100/chain/")

result = remote_chain.invoke({"language": "chinese", "text": "hello"})

print(result)